<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<div id="pagetop">
	<center>
		<div class="pagecontainer" style="text-align: right;">
			<s:if test="account==null">
				<a href="<%=request.getContextPath()%>/viewLogin.do">登录</a>
				<a href="<%=request.getContextPath()%>/usercenter/register.do">注册</a>
			</s:if>
			<s:else>
			欢迎您，<s:property value="account" />
				<a href="<%=request.getContextPath()%>/usercenter/appmsg/listMsg.do">消息<s:if test="unreadMsgCount>0">(<s:property value="unreadMsgCount" />)</s:if> </a>
				<s:if test="isSystemUser()">
					<a href="<%=request.getContextPath()%>/manage/index.do">管理</a>
				</s:if>
				<a href="<%=request.getContextPath()%>/logout.do">退出</a>
			</s:else>
		<ul id="banner">
			<li>
				<a href="<%=request.getContextPath()%>/index.do">首页</a>
			</li>
			<li>
				<a href="<%=request.getContextPath()%>/search.do?type=order">联购中心</a>
			</li>
			<li>
				<a href="<%=request.getContextPath()%>/usercenter/index.do">我的账户</a>
			</li>
			<li>
				<a href="<%=request.getContextPath()%>/help.do">帮助中心</a>
			</li>
			<li>
				<a href="/bbs/" target="_blank">社区</a>
			</li>
		</ul>
		</div>
	</center>
</div>
<center>
	<div class="pagecontainer layout_pageheader">
		<div class="right">
			<div style="font-size: 20px; text-align: right; color: blue;">
				<a href="<%=request.getContextPath()%>/category/selectOrderCate.do">创建订单</a>|
				<a href="<%=request.getContextPath()%>/subsc/editSubsc.do?email=<s:property value="currentUser.email"/>">订 阅</a>
			</div>
			<div class="search_box" id="search_box">
				<input id="hiddenSearchkey" <s:if test="key!=null">value="<s:property value="key"/>"</s:if> type="hidden" />
				<input name="key" id="search_keyword" <s:if test="key!=null">value="<s:property value="key"/>"</s:if> type="text" class="text_input" />
				<input type="button" value="&nbsp;搜 索&nbsp;" id="search_submit" class="btn_yellow_2" />
				<font class="hidden"> <input type="radio" name="type" value="order" <s:if test="type==null ||type.equals('order')">checked="checked"</s:if> /> 订单 <input type="radio" name="type" value="product" <s:if test="type!=null && type.equals('product')">checked="checked"</s:if> /> 商品/服务 </font>
			</div>
		</div>
		<div class="left">
			<div class="logopic">
				<a href="<%=request.getContextPath()%>/index.do" title="首页"> <img src="<%=request.getContextPath()%>/images/logo.gif" border="0" /> </a>
				<a href="<%=request.getContextPath()%>/setRegion.do"><s:property value="currentRegion.fullName" /> </a>
			</div>
		</div>

	</div>

</center>